Pages
that reside in a document library that supports versioning enable you
to restore previous versions of the pages, just like any other files in
document libraries that support versioning. However, with pages, you
also get the option to view the changes that were made to them between
each version and compare them.
Note
Page changes that are
tracked by versioning include changes to add and remove web parts and
edit content in the page’s editing controls, such as the text editing
control and image editing control. However, changes made to the
contents in the web parts on the page do not count as part of the
page’s contents and are not restored when you restore a previous
version. They are also not shown in the comparison of versions.
To compare the
changes between versions of a page, switch to the page’s Page ribbon
and click the Page History button in the ribbon.
The page that opens shows
the changes made in each version. The list of versions is in the left
pane, and the current text with change tracking is in the right pane
(see Figure 1).
When a change is made to a
piece of content in the page (for example, the text in a text editing
control on the page), the section in the version comparison page shows
the old value and the new value, indicating what editing was done (see Figure 2). New text is highlighted, existing text appears as regular text, and text that was deleted appears in red strikethrough.
You can browse the
other versions of the page by clicking the version date and time on the
left. You can delete or restore the version by using the toolbar in the
page.